package alex;

public class Constant {
	public static final String STOCK_CLASS_TSE = "TSE";  //上市公司
	public static final String STOCK_CLASS_OTC = "OTC";  //上櫃公司
	
	public static final String TCC_CODE = "1101";  //台泥代碼
	public static final String PLUS_SYMBOL = "＋";
	public static final String MINUS_SYMBOL = "－";
	
//	"http://www.twse.com.tw/ch/trading/exchange/MI_INDEX/MI_INDEX3_print.php?genpage=genpage/Report"+aTseYear+aMonth+"/A112"+aTseYear+aMonth+aDay+"ALLBUT0999_1.php&type=csv";
	public static final String TSE_URL = "http://www.twse.com.tw/ch/trading/exchange/MI_INDEX/MI_INDEX3_print.php?genpage=genpage/Report%s%s/A112%s%s%sALLBUT0999_1.php&type=csv";

//	public static final String OTC_URL = "http://www.otc.org.tw/ch/stock/aftertrading/otc_quotes_no1430/SQUOTE_AL_%s%s%s.CSV";  // old
	public static final String OTC_URL = "http://www.otc.org.tw/ch/stock/aftertrading/otc_quotes_no1430/stk_wn1430_download.php?d=%s/%s/%s&se=EW&s=0";  // 2014
		
}
